package com.yanqu.road.entity.log.cross.xingyou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_log_xing_you_beauty_sync", desc = "行游山水-美女能力同步", autoSave = true, eventName = "mouwater_ability", dataUpload = true, uploadCk = true, isCross = true)
public class LogCrossXingYouBeautySync extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityId", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(isIndex = true, desc = "分组id")
    private int groupId;

    @FieldTypeAnnotation(desc = "玩家", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍", dataAttribute = "team_id")
    private int teamId;

    @FieldTypeAnnotation(desc = "总友好", dataAttribute = "mouwater_flower")
    private int totalIntimacy;

    @FieldTypeAnnotation(desc = "总才华", dataAttribute = "mouwater_love")
    private int totalGlamour;

    @FieldTypeAnnotation(desc = "总血量", dataAttribute = "mouwater_blood")
    private int totalHp;

    @FieldTypeAnnotation(desc = "时间")
    private long logTime;

    public LogCrossXingYouBeautySync(int activityId, long userId, int teamId, int totalIntimacy, int totalGlamour, int totalHp) {
        this.activityId = activityId;
        this.userId = userId;
        this.teamId = teamId;
        this.totalIntimacy = totalIntimacy;
        this.totalGlamour = totalGlamour;
        this.totalHp = totalHp;
        this.logTime = System.currentTimeMillis();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public int getTotalIntimacy() {
        return totalIntimacy;
    }

    public void setTotalIntimacy(int totalIntimacy) {
        this.totalIntimacy = totalIntimacy;
    }

    public int getTotalGlamour() {
        return totalGlamour;
    }

    public void setTotalGlamour(int totalGlamour) {
        this.totalGlamour = totalGlamour;
    }

    public int getTotalHp() {
        return totalHp;
    }

    public void setTotalHp(int totalHp) {
        this.totalHp = totalHp;
    }

    public long getLogTime() {
        return logTime;
    }

    public void setLogTime(long logTime) {
        this.logTime = logTime;
    }
}
